package com.aabte.auth.account.resource.api.account;

import lombok.Getter;
import lombok.ToString;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;

@Validated
@Getter
@ToString
public class ChangePasswordCommand {
    @NotBlank
    private String accountName;

    @NotBlank
    private String accountNewPassword;

    @NotBlank
    private String accountOldPassword;
}
